package com.seveneight.baijiesteward.adapter;

import android.content.Context;
import android.widget.TextView;

import com.seveneight.baijiesteward.R;
import com.seveneight.baijiesteward.bean.BankBean;

/**
 * Created by user1 on 2018/3/20.
 */

public class BankListAdapter extends ListBaseAdapter<BankBean> {

    public BankListAdapter(Context context) {
        super(context);
    }

    @Override
    public int getLayoutId() {
        return R.layout.item_bank;
    }

    @Override
    public void onBindItemHolder(SuperViewHolder holder, int position) {
        TextView tv_bankName = holder.getView(R.id.tv_bankName);
        BankBean bankBean = mDataList.get(position);
        tv_bankName.setText(bankBean.getBankName());
    }
}
